package com.jumi.microservice.stock.dto.commodity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author ssk
 * @create 2020/9/4 14:55
 **/
public class CommodityApplyDetailDTO implements Serializable {

    private static final long serialVersionUID = -6589653229999814395L;
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("申请ID")
    private Long applyId;

    @ApiModelProperty("商城商品skuId")
    private Long skuId;

    @ApiModelProperty("商城商品sku编码")
    private String skuCode;

    @ApiModelProperty("规格属性值")
    private String specName;

    @ApiModelProperty("申请的实际数量")
    private int stockNum;

    @ApiModelProperty("申请的预售数量")
    private int preStockNum;

    @ApiModelProperty("剩余的预售数量")
    private int leftPreNum;

    @ApiModelProperty("分配的实际数量")
    private int renderStockNum;

    @ApiModelProperty("物料与商城sku之间的倍数")
    private int materialNum;

    private List<CommodityRenderDTO> renderList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public int getStockNum() {
        return stockNum;
    }

    public void setStockNum(int stockNum) {
        this.stockNum = stockNum;
    }

    public int getPreStockNum() {
        return preStockNum;
    }

    public void setPreStockNum(int preStockNum) {
        this.preStockNum = preStockNum;
    }

    public List<CommodityRenderDTO> getRenderList() {
        return renderList;
    }

    public void setRenderList(List<CommodityRenderDTO> renderList) {
        this.renderList = renderList;
    }

    public int getRenderStockNum() {
        return renderStockNum;
    }

    public void setRenderStockNum(int renderStockNum) {
        this.renderStockNum = renderStockNum;
    }

    public int getMaterialNum() {
        return materialNum;
    }

    public void setMaterialNum(int materialNum) {
        this.materialNum = materialNum;
    }

    public int getLeftPreNum() {
        return leftPreNum;
    }

    public void setLeftPreNum(int leftPreNum) {
        this.leftPreNum = leftPreNum;
    }
}
